var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/monitor');
/*mongoose.on('error', function(error) {
    console.log(error);
});*/
exports.mongoose = mongoose;
